package com.m31skytech.dungeonstool;

import com.m31skytech.dungeonstool.items.DTWands;
import com.m31skytech.dungeonstool.items.IconItem;
import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.Item;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

/**
 * @description: default
 * @date: 2024/6/16 23:21
 */
public class ItemRegistry {
    public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, DungeonsTool.MODID);

    // 注册 方块物品:方块墙
    public static final RegistryObject<Item> AIR_WALL_BLOCK_ITEM = ITEMS.register("air_wall_block",
            () -> new BlockItem(BlockRegistry.AIR_WALL_BLOCK.get(), new Item.Properties().tab(DTCreateTab.DungeonsToolCreativeModeTab)));

    // 注册 方块物品:传送控制方块
    public static final RegistryObject<Item> TELEPORT_CONTROL_BLOCK_ITEM = ITEMS.register("teleport_control_block",
            () -> new BlockItem(BlockRegistry.TELEPORT_CONTROL_BLOCK.get(), new Item.Properties().tab(DTCreateTab.DungeonsToolCreativeModeTab)));

    // 注册 方块物品:传送点方块
    public static final RegistryObject<Item> TELEPORT_POINT_BLOCK_ITEM = ITEMS.register("teleport_point_block",
            () -> new BlockItem(BlockRegistry.TELEPORT_POINT_BLOCK.get(), new Item.Properties().tab(DTCreateTab.DungeonsToolCreativeModeTab)));

    // 注册 方块物品:副本控制方块
    public static final RegistryObject<Item> DUNGEON_CONTROL_BLOCK_ITEM = ITEMS.register("dungeon_control_block",
            () -> new BlockItem(BlockRegistry.DUNGEON_CONTROL_BLOCK.get(), new Item.Properties().tab(DTCreateTab.DungeonsToolCreativeModeTab)));



    // 注册 图标物品
    public static final RegistryObject<Item> ICON_ITEM = ITEMS.register("icon_item", IconItem::new);

    // 注册 物品:副本手杖
    public static final RegistryObject<Item> DT_WANDS = ITEMS.register("dt_wands_item", DTWands::new);


    public static void register() {

    }
}
